package org.begincode.core.mapper;

import org.apache.ibatis.annotations.Param;
import org.begincode.core.model.CourseLevel;
import org.begincode.core.model.CourseLevelExample;

import java.util.List;

public interface CourseLevelMapper {
    int countByExample(CourseLevelExample example);

    int deleteByExample(CourseLevelExample example);

    int deleteByPrimaryKey(Integer courseLevelId);

    int insert(CourseLevel record);

    int insertSelective(CourseLevel record);

    List<CourseLevel> selectByExample(CourseLevelExample example);

    CourseLevel selectByPrimaryKey(Integer courseLevelId);

    int updateByExampleSelective(@Param("record") CourseLevel record, @Param("example") CourseLevelExample example);

    int updateByExample(@Param("record") CourseLevel record, @Param("example") CourseLevelExample example);

    int updateByPrimaryKeySelective(CourseLevel record);

    int updateByPrimaryKey(CourseLevel record);
}